<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html>
<head>
<base href="<%=basePath%>">
<title>登录 - 蓝调社区</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" href="assets/css/amazeui.min.css" />
<style type="text/css">
body {
	height: 100%;
}

.am-radius {
	border-radius: 5px;
}

.login-con {
	width: 400px;
	height: 310px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -165px;
	padding: 50px;
	background-color: #f7f7f7;
	border: 1px solid #e6e6e6;
	box-shadow: 0 5px 5px #888888;
}

.border-blue {
	border: 2px solid #005dad !important;
}

.am-btn-primary {
	background-color: #005dad;
	border-color: #005dad;
	color: #fff;
}
</style>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/plugins/layer-v1.9.2/layer/layer.js"></script>
</head>

<body>
	<div class="header am-cf">
		<img src="assets/img/logo.png" class="am-fl">
		<h1 class="am-padding-lg am-margin-top-sm"
			style="width:100%;padding-left:295px;font-weight: normal;border-bottom: 3px solid #005dad;">欢迎登录</h1>
	</div>
	<div class="login-con am-radius">
		<form method="post" class="am-form am-margin-0"
			action="management/login">
			<h2 style="font-weight: normal;">蓝调管理员</h2>
			<input type="text" class="am-radius border-blue" name="account"
				id="username" value="" placeholder="账号" required /> <br> <input
				type="password" class="am-radius border-blue" name="passwd"
				id="password" value="" placeholder="密码" required /> <br>
			<input type="submit" name="" value="登 录"
				class="am-btn am-radius am-btn-primary am-btn-sm am-btn-block">
		</form>
	</div>

	<script type="text/javascript">
		if ("${resultMsg.success}" != "" && "${resultMsg.success}") {
			alert("${resultMsg.msg}");
		};
	</script>
</body>
</html>
